-- GENERATED SPELL FOR [Z'kral] --


function spell0_18974(pUnit, Event) --@Power Burn,n/a--
pUnit:FullCastSpellOnTarget(32003,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18974', 655, 1)
end

function Sorts_18974(pUnit, Event)
local choix_sorts_18974 = math.random(0, 0)
if choix_sorts_18974 == 0 then
pUnit:RegisterEvent('spell0_18974', 1, 1)
end
end

function mob18974_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18974', math.random(1500, 3000), 1)
end

function mob18974_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18974_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18974_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18974, 1, 'mob18974_Action')
RegisterUnitEvent(18974, 2, 'mob18974_Leave')
RegisterUnitEvent(18974, 3, 'mob18974_Kill')
RegisterUnitEvent(18974, 4, 'mob18974_Die')
